bugfix: global escape be replaced