fix sum