fix looking up a wrong unicode character