added gsub for more special characters to avoid 404 errors