add back code blow away in regex replacements