fixed archive bug in buffalo