fixing non-utf8 characters