fixed application redirection bug, added redirection msg