fix saturated func