Fix bug serializing values
Merge pull request #28 from GzFighter/master

Fix bug serializing values