fix decimal in safari