modify Uid from binary to list