fixed too eager duplicates check for shaper