diff --git a/lib/GUI/index.hbs b/lib/GUI/index.hbs
index 37730c494..cd2585377 100644
--- a/lib/GUI/index.hbs
+++ b/lib/GUI/index.hbs
@@ -4,7 +4,7 @@
{{ name }}
-
+
diff --git a/lib/index-web.js b/lib/index-web.js
index db2f0327c..c5d8463eb 100644
--- a/lib/index-web.js
+++ b/lib/index-web.js
@@ -42,7 +42,7 @@ module.exports = function(config, auth, storage) {
storage.get_local(function(err, packages) {
if (err) throw err // that function shouldn't produce any
next(template({
- name: config.web.title || 'Sinopia',
+ name: config.web && config.web.title ? config.web.title : 'Sinopia',
packages: packages.filter(allow),
baseUrl: base,
username: req.remote_user.name,