bugfixes in benchmark scripts