fix a bug when returns a variable
for...in implementation with a lua iterator-like function