Me and my gf live together with our son all year. She claimed him as a dependent, and when I fill my taxes, it says i qualify for non-dependent eic/dependent care

I'm confused because a CPA told me the way i filled it is fine but then i read here and everyone else is saying to take off the dependent completely