Fix editor mode