fix Uninitialized string offset: 0
Merge pull request #537 from rkmax/fixes

Uninitialized string offset: 0. Fixes #527.