fix for editor