fixed the npc fling issue