Correct some errors in routing.