fixed quick exit on npc level detection