Accusative or dative? I can't get the material I'm learning into my head, and I can't get you out of my head?

I can't get the learning material into my head, and I can't get you out of my head. The alternating prepositions "in" and "aus" are in accusative/dative, meaning they're in motion. "The learning material isn't going into my head or out of my head." Actually, they should both be in the accusative case, right? This…