Map editor work properly