Error correcting in EditorController