Bugfix for editor import