fix unicode errors