fixed potential(?) bug where temporary lua variables were left on the stack after calls to lua_len