fix of messed up editor