fixed string Replace() in Moses