fix paymentwait access