fixed bugs in kill jobs