wrong var used