handled unicode errors