fix errors on payment page