cleanup of editor options