fix text reduplication
Merge pull request #13 from sisteamnik/master

fix text reduplication and add whitespace removing