fixing archiving