Fixed sum bug