fix events to trace cfg