bug fix at escape sequence