fixed problem in escchar