flush on save