redirect to error page while getting no activity