remove old escape code