fix for unicode bug in empy