multiple add with same name now override previous
fix situation when total == 0