fix Executor class handling SLURM