first disable app and than show error page