fix to remove old archive before archiving