diff --git a/router.go b/router.go
index <HASH>..<HASH> 100644
--- a/router.go
+++ b/router.go
@@ -187,7 +187,7 @@ func (a *App) addRoute(method string, url string, h Handler) *RouteInfo {
 
 //buildRouteName builds a route based on the path passed.
 func (a *App) buildRouteName(p string) string {
-	if path.Join(a.Prefix, "/") == p || p == "/" || p == ""  {
+	if p == "/" || p == "" {
 		return "root"
 	}
 
diff --git a/router_test.go b/router_test.go
index <HASH>..<HASH> 100644
--- a/router_test.go
+++ b/router_test.go
@@ -324,8 +324,8 @@ func Test_buildRouteName(t *testing.T) {
 
 	a = Automatic(Options{Prefix: "/test"})
 	cases = map[string]string{
-		"/test":                                      "root",
-		"/test/users":                                "testUsers",
+		"/test":       "test",
+		"/test/users": "testUsers",
 	}
 
 	for input, result := range cases {
fixed "broken" tests. it was actually the helper logic that was broken.