editor save fix