use proto handling in event module