correct duplicated packages with habs-core