fixed associating tasks to job