fixes moving npc