fixed a bug in the load test