fix bug in recovery of suspended jobs