more safely handle and log uuid