clean up editor