bug fixed, if `id` is a unicode instance