fix unused variable warning and pause when done benchmarking