remove mismatched text