adding check to skip if any constraint is missing, earlier its fail