Fixed a potential bug in unarchiver