fixed missing title and close tags and html tidy ed