Fix error on save error