fix job can not destroy bug