fixed serializer bug
Merge pull request #22 from nemrow/bug-fix

fixed serializer bug