diff --git a/lib/src/main/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfig.kt b/lib/src/main/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfig.kt
index 7b66da97df57fe4a74223c33af9474e7ff1b0463..85f8df480ddfcd2a9eec2d535ee53b2fec2faef7 100644
--- a/lib/src/main/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfig.kt
+++ b/lib/src/main/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfig.kt
@@ -70,8 +70,8 @@ class BufferViewConfig constructor(
     "hideInactiveBuffers" to QVariant.of(hideInactiveBuffers(), Type.Bool),
     "hideInactiveNetworks" to QVariant.of(hideInactiveNetworks(), Type.Bool),
     "disableDecoration" to QVariant.of(disableDecoration(), Type.Bool),
-    "allowedBufferTypes" to QVariant.of(allowedBufferTypes(), Type.Int),
-    "minimumActivity" to QVariant.of(minimumActivity(), Type.Int),
+    "allowedBufferTypes" to QVariant.of(allowedBufferTypes().toInt(), Type.Int),
+    "minimumActivity" to QVariant.of(minimumActivity().toInt(), Type.Int),
     "showSearch" to QVariant.of(showSearch(), Type.Bool)
   )
 
diff --git a/lib/src/test/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfigTest.kt b/lib/src/test/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfigTest.kt
index 562934fd10cafd899b879245bd038ef3b412213c..c06a5100ca54d919e1afdbe90e68c8a2727a4276 100644
--- a/lib/src/test/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfigTest.kt
+++ b/lib/src/test/java/de/kuschku/libquassel/quassel/syncables/BufferViewConfigTest.kt
@@ -37,7 +37,8 @@ class BufferViewConfigTest {
     original.setHideInactiveNetworks(randomBoolean())
     original.setHideInactiveNetworks(randomBoolean())
     original.setDisableDecoration(randomBoolean())
-    original.setAllowedBufferTypes(Buffer_Type.of(*Buffer_Type.validValues))
+    original.setAllowedBufferTypes(Buffer_Type.of(randomOf(*Buffer_Type.validValues),
+                                                  randomOf(*Buffer_Type.validValues)))
     original.setMinimumActivity(randomOf(*Buffer_Activity.values()).toInt())
     original.setShowSearch(randomBoolean())
 
@@ -56,7 +57,8 @@ class BufferViewConfigTest {
     original.setHideInactiveNetworks(randomBoolean())
     original.setHideInactiveNetworks(randomBoolean())
     original.setDisableDecoration(randomBoolean())
-    original.setAllowedBufferTypes(Buffer_Type.of(*Buffer_Type.validValues))
+    original.setAllowedBufferTypes(Buffer_Type.of(randomOf(*Buffer_Type.validValues),
+                                                  randomOf(*Buffer_Type.validValues)))
     original.setMinimumActivity(randomOf(*Buffer_Activity.values()).toInt())
     original.setShowSearch(randomBoolean())