fixing job directory