fixed event payload constructor type hinting