add variable hoisting while validation