Deductions & credits

Sorry that's the rule.  If over 18 has to make less than 4,700 or be under 24 and a full time student.

 

See IRS Publication 501 starting on page 11 bottom Dependents

https://www.irs.gov/pub/irs-pdf/p501.pdf