Fixes total amount using pp