fix #185
fixed #186
Merge pull request #192 from tessel/jh-string-fixes

string fixes