fixed hsb non rounding issuue