fixed 0-termination bug in benchmark
fixed 0-termination bug in benchmark