fix string replace bug
Merge pull request #406 from tetsurom/StringFix

fix string replace bug