fix lights and events