editor bugfix