improve map editor