[bin+lib] fix a bug with oargrid_job