fixed the creation of NPCs in main : the start and target positions should not be the same