change useless gsub to delete

Consistent with past commits such as 2d8396fc9fbea9189e9e945e41e643925da5b2cb