change useless gsub to delete
Merge pull request #9557 from bonsaiben/useless_gsub

Change useless gsub to delete