fixed running multiple trials in the benchmark