changed toFixed by Math.floor/Math.round