fixed output string bug
Merge pull request #289 from hal3/master

fixed output string bug