fix of perf.py