minor fix in perf_config()