Fixes the total amount