Fix router root bug