unicode errors fixes