Another fix for utf8 exceptions