adjust constraint for preference