diff --git a/html/includes/hostbox.inc.php b/html/includes/hostbox.inc.php
index 7b4cf78da..cdce921ce 100644
--- a/html/includes/hostbox.inc.php
+++ b/html/includes/hostbox.inc.php
@@ -35,11 +35,10 @@ echo('
' . $device['hardware'] . ' ' . $device['features'] . ' | '
echo(' ' . $device['os_text'] . ' ' . $device['version'] . ' | ');
-echo(' ' . formatUptime($device['uptime']) . '
| ');
+echo(' ' . formatUptime($device['uptime']) . ' ');
-$location = $device['location'];
-if (get_dev_attrib($device,'override_sysLocation_bool')) { $location = get_dev_attrib($device,'override_sysLocation_string'); }
-echo(' | ' . $location . '
| ');
+if (get_dev_attrib($device,'override_sysLocation_bool')) { $device['location'] = get_dev_attrib($device,'override_sysLocation_string'); }
+echo(' ' . $device['location'] . '');
echo (' ');