fixed handling of non-array jobs