fix minor bug for rounding number