fix to editor