fixed bug in payment modal