PEP8
Fix amount computation