fix cap tasks