fixing problem with routing.