fixed some value conversion issues
Merge pull request #99 from michaelzischka/master

fixed some value conversion issues