removed the 'to_unicode' flag, because we're going to anyway