fix event priority