fix RightUpSlope