fixed pub duplicates