session and job.all fix