Fix typo in sum_spec