diff --git a/server/Publish.rb b/server/Publish.rb
index <HASH>..<HASH> 100644
--- a/server/Publish.rb
+++ b/server/Publish.rb
@@ -80,7 +80,7 @@ class Dbus_actuator < DBus::Object
 
   def define_dbus_methods(methods)
     methdef =    "dbus_interface 'org.openplacos.server.actuator' do \n "
-    methdef +=   "dbus_method :state, 'out return:a{sv}' do \n  return @act.state \n end \n"
+    methdef +=   "dbus_method :state, 'out return:a{sv}' do \n return [@act.state] \n end \n"
     methods.each_value { |name|
       methdef +=     "dbus_method :" + name + ", 'out return:v' do \n return @act." + name + " \n end \n "
     }
diff --git a/server/Top.rb b/server/Top.rb
index <HASH>..<HASH> 100755
--- a/server/Top.rb
+++ b/server/Top.rb
@@ -128,7 +128,7 @@ class Top
       # store config if not done before
       $database.store_config( @drivers, @measures, @actuators)
     else
-      $database = nil
+      #$database = nil
     end
patch for state method and $database error