fix events -> plugins