Fixed a bug where parse method would throw exception when passed a number