fix validation of uuid