MOD: fix bug when input only a num_iid