s3 folder is deleted with gallery