proper sum formating