Fixed error in routing.