Fixed bug in number parsing.