assign missing uid