remove rtf if