fix the bug of payment table