Fix editor saving