fix rout to accept digits as well