fixed a corner case for overflow clamps