fix head movement