improve loadDependency in archiver