remove bad UTF-8 and > chars