why no use of $app->redirectPath ?