Fix router deleting