remove old routing code