bug fix in pctile range