validation corrected