fixes on sum