crash fix for unicode objects.