fix sum stupid crap