```pids``` should be ```arr_pids``` as below.