edit map and justify NPC position