errors fixed for throughput test