fix truncation error in parseValue
Merge pull request #6 from ryanxcharles/feature/fix-truncation-error

fix truncation error in parseValue