bug fix: waiting for app/ws data when visiting app pages directly