Var not defined fixed.