fix string/bool var
Merge pull request #1 from xchrdw/master

fix string/bool var