fix a bug of Router