fix event priorities