getLastEventName method for EventHandlers
add connectedline to safe case values