fix for summary miscalculation - take 2