Help!!!!

I did that and all seems good there..
My old truck the dimmer switch needed to be grounded for headlights to work.No sure if this applies to your situation