debugging unicode related errors