change useless gsub to tr
Merge pull request #9564 from robertomiranda/useless_gsub

change useless gsub to tr