fix minor root path after login