fix job creation