Slove the npc_adding problem.