fixed unicode comparison