fix pprof inspector loop bug