fixed error related to escape sequences