added non null assertions to isSameUUID