Map's path generation bug fixed