diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 1f0f2dbbd1e37bf5410ab789fade093fb374376e..d1f979c6965c5e767d4b6b356c5a77c231406436 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -58,7 +58,7 @@
 										<?php if ($_['themingInvertMenu']) { ?>
 										<defs><filter id="invertMenuMain-<?php p($entry['id']); ?>"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" /></filter></defs>
 										<?php } ?>
-										<image x="0" y="0" width="20" height="20" preserveAspectRatio="xMinYMin meet"<?php if ($_['themingInvertMenu']) { ?> filter="url(#invertMenuMain-<?php p($entry['id']); ?>)"<?php } ?> xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"  class="app-icon" />
+										<image x="0" y="0" width="20" height="20" preserveAspectRatio="xMinYMin meet"<?php if ($_['themingInvertMenu']) { ?> filter="url(#invertMenuMain-<?php p($entry['id']); ?>)"<?php } ?> xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"  class="app-icon"></image>
 									</svg>
 								<span>
 									<?php p($entry['name']); ?>
@@ -147,7 +147,7 @@
 					</nav>
 				</div>
 			</div>
-		</div></header>
+		</header>
 
 		<div id="sudo-login-background" class="hidden"></div>
 		<form id="sudo-login-form" class="hidden">