fixed a bug: connect archive