fixed bug in getting parameter for the results file during benchmarking