some fixes in the benchmark scripts