Fixed validate event issue