diff --git a/app/ui-account/client/accountPreferences.html b/app/ui-account/client/accountPreferences.html
index 1bf035d4edd2..4b1ded75dd7b 100644
--- a/app/ui-account/client/accountPreferences.html
+++ b/app/ui-account/client/accountPreferences.html
@@ -240,8 +240,8 @@
{{_ "Messages"}}
diff --git a/app/ui-account/client/accountPreferences.js b/app/ui-account/client/accountPreferences.js
index 62b03f21d4a6..35c148a70d79 100644
--- a/app/ui-account/client/accountPreferences.js
+++ b/app/ui-account/client/accountPreferences.js
@@ -167,7 +167,7 @@ Template.accountPreferences.onCreated(function() {
data.messageViewMode = parseInt($('#messageViewMode').find('select').val());
data.hideFlexTab = JSON.parse($('#hideFlexTab').find('input:checked').val());
data.hideAvatars = JSON.parse($('#hideAvatars').find('input:checked').val());
- data.sidebarHideAvatars = JSON.parse($('#sidebarHideAvatars').find('input:checked').val());
+ data.sidebarHideAvatar = JSON.parse($('#sidebarHideAvatar').find('input:checked').val());
data.sendOnEnter = $('#sendOnEnter').find('select').val();
data.autoImageLoad = JSON.parse($('input[name=autoImageLoad]:checked').val());
data.emailNotificationMode = $('select[name=emailNotificationMode]').val();