corrected validate statements