fixed error in gameeditor