remove dependency on unicode