Fix job generation.