bugfix for empty jobs list