made protoevent uint16, to be compatible to the event