fix mismatch lua_State BUG