make corections for validation