fixing the JobInstance