Cleanup utf8 and filter in the same place