fix bugs of add pay record