minor fixed,histogram changes