fix bug with toFixed