minor update to the event handling