fix s/SUM/SAM/