Fixed error with gsub!