fixing setting of job id