fixing negative amounts