event escape character fix