fix decimal flickering