Fixed null pointers for getUUID