basic gsub for migration