fixed NumberFormatException
Merge pull request #23 from hrynek/master

Fixed NumberFormatException