var ERROR fixed