Deductions & credits

when I enter six months or less it takes half the credit away, my ex is not claiming any credit and i am entitled to full dependency.  Is this a glitch inthe program, seems tome I should get full credit. your thoughts, thanks