fix AMOUNT_MISMATCH error