fix sum spec