Fix router replace