fix sum bug,change UI