fix for negative numbers in sum all digits