clear save buffer once file is ready