deleting keys when deleting jobs