npc detection changed to id