fix: max for sum