Foster child lived with us for the last 7 months of the year. We were told 1/2 year or longer we could claim him but turbo tax is telling me we cant

Turbo tax states he must be with us 12 months...what am I doing wrong