Remove extra </head>