Fixed error with routes.