fix crash of PerformanceTest