fix bug of Router