AliEnv: fixed wrong var name in tuple by query