fix the cumulative and quantile estimates