remove BAT patch