refactor to try to get the route to register with the correct namespace