improve map_editor for waypoint part