fix for cdf_values