remove unused gsub to make homebrew happy