Calling wrong var