changed WaitPage in app template