some fixes for basinhopping benchmarks