fix a nil err
fixes for job resubmission w/stdin