correct for nil tasks and customers