Fix title and closing <head> tag