fix bug: replace \ before replace other