cleanup len usage on item.recv and item.send