remove ' from replacements