fix parseValue
Merge pull request #517 from maraoz/fix/parseValue

Fix parseValue