fix sum bug,finished param value setting