fix percentile plot