Fixing the variable name for amountInput