correctly load pack file