Bug fix

Fixed errornous return code on archive[]