trying to debug utf-8 errors