reordering the unpacking and cleaning the event, no segviol any more