fix decimal places error