fixes to cap tasks