change the input of amount