fixes to editor