fix event return value