Fix register route.