fixed redirecting when app is imported