diff --git a/files/routes/users.py b/files/routes/users.py
index 57be547bf..aa5047839 100644
--- a/files/routes/users.py
+++ b/files/routes/users.py
@@ -390,7 +390,7 @@ def get_css(id):
try: id = int(id)
except: abort(404)
- css, bg = g.db.query(User.profilecss, User.profile_background).filter_by(id=id).one_or_none()
+ css, bg = g.db.query(User.profilecss, User.background).filter_by(id=id).one_or_none()
if bg:
if not css: css = ''
diff --git a/files/templates/header.html b/files/templates/header.html
index be4dfaa6a..ce1fe0623 100644
--- a/files/templates/header.html
+++ b/files/templates/header.html
@@ -264,7 +264,7 @@
@@ -50,7 +50,7 @@
@@ -86,7 +86,7 @@
diff --git a/files/templates/userpage/banner.html b/files/templates/userpage/banner.html
index 65bf54559..9d8302660 100644
--- a/files/templates/userpage/banner.html
+++ b/files/templates/userpage/banner.html
@@ -198,7 +198,7 @@
Upload Profile Background
{% endif %}
-
+
{% if v.profile_background -%}
@@ -417,7 +417,7 @@
Upload Profile Background
{% endif %}
-
+
{% if v.profile_background -%}