improve SimpleRouter