corrected replacement_string