change the order of uuid check