fixed logic validate