Code generation BUG fixed

Var declaration