fix job directory mkdir