fixed benchmark script