clean up replacements