fixed bug in archive class