diff --git a/resources/qml/RoomSettings.qml b/resources/qml/RoomSettings.qml
index 152567c8193cef09469cca50677d6fa0c34c76bf..6caf879064ec393a9fc9ad651139e0a705616e7a 100644
--- a/resources/qml/RoomSettings.qml
+++ b/resources/qml/RoomSettings.qml
@@ -38,7 +38,7 @@ ApplicationWindow {
 
         Avatar {
             url: roomSettings.roomAvatarUrl.replace("mxc://", "image://MxcImage/")
-            roomid: roomSettings.roomid
+            roomid: roomSettings.roomId
             displayName: roomSettings.roomName
             height: 130
             width: 130
diff --git a/resources/qml/dialogs/ImagePackSettingsDialog.qml b/resources/qml/dialogs/ImagePackSettingsDialog.qml
index ca09ff27618a8f569aa7cfd220b537aa93421fcb..e48040c1f42dd98653948facc170824d0c401d99 100644
--- a/resources/qml/dialogs/ImagePackSettingsDialog.qml
+++ b/resources/qml/dialogs/ImagePackSettingsDialog.qml
@@ -101,6 +101,7 @@ ApplicationWindow {
                     required property string displayName
                     required property bool fromAccountData
                     required property bool fromCurrentRoom
+                    required property string statekey
 
                     title: displayName
                     subtitle: {
@@ -112,7 +113,7 @@ ApplicationWindow {
                             return qsTr("Globally enabled pack");
                     }
                     selectedIndex: currentPackIndex
-                    roomid: currentPack.statekey
+                    roomid: statekey
 
                     TapHandler {
                         onSingleTapped: currentPackIndex = index