Small fixes for postjob.