make prefix match the generated routes.