#70: fixed 'Cannot read property 'toFixed' of undefined'