Fixed a number parsing issue

This is why you don't C&P code :-)