make archiving actually work