Fixed issue with <html> and <head> tags