Fix the clamping