Fixing event priorities