the old version of lua map editor, just for maintenance