fix for amount sum sometimes being nothing