fix some bugs of pay action