#381 make double backslash at end of replace