Fix incorrect event handler definition in comm