modify luaeventnode visit function