routes and html fixes