remove hard-coded n_core