Fixes getString
Merge pull request #2789 from yurydelendik/getString

Fixes getString