cleanup Router extension