fix some error in jobs