fix erase_saved for single files