fix some stuff in job object