Correct event priorities to improve performance