Fixed bugs and added select form for routes.