fix bugs of approve