style for validate