npc as client bug fixed