fix some benchmarking issues