only parse ms if it's a string
Merge pull request #1 from rossipedia/number-fix

only parse ms if it's a string