Fix gsub usage