rescue alerts when gsub fails