removes unused jobs