corrected validatio errors