validate the  exists