handling of variable length text UIDs