attempt to fix 'Not a number' issue