guard agains 'none' value in parseNumber