Fix issue with total amount
Merge remote-tracking branch 'origin/master'