fixed memory leak when loading the same assetpack twice