catching utf error output