troubleshooting unicode errors