fixed a bug that cannot load files in archive correctly