removed invalid multibyte characters