fix comment code
make num_store_threads local variable