fixed #60. added support for reading wholeNumber property