Remove non-working escape sequences