remove lua_ref completely