Fix editor error