diff --git a/controls_Matrix.txt b/controls_Matrix.txt
index 64b00a2..b9997e3 100644
--- a/controls_Matrix.txt
+++ b/controls_Matrix.txt
@@ -1,2 +1,2 @@
-UPD 2023-01-04_18:24:55 16959 FHEM/70_Matrix.pm
-UPD 2023-01-04_17:59:18 51844 lib/FHEM/Devices/Matrix/Client.pm
+UPD 2023-01-04_18:41:07 16959 FHEM/70_Matrix.pm
+UPD 2023-01-04_19:01:30 51934 lib/FHEM/Devices/Matrix/Client.pm
diff --git a/lib/FHEM/Devices/Matrix/Client.pm b/lib/FHEM/Devices/Matrix/Client.pm
index 40c9ebb..59b656c 100644
--- a/lib/FHEM/Devices/Matrix/Client.pm
+++ b/lib/FHEM/Devices/Matrix/Client.pm
@@ -179,7 +179,10 @@ sub _Init {    # wir machen daraus eine privat function (CoolTux)
 
     # Update necessary?
     Log3( $name, 1,
-        $name . ': Start V' . $hash->{VERSION} . ' -> V' . $VERSION )
+            $name
+          . ': Start V'
+          . $hash->{VERSION} . ' -> V'
+          . FHEM::Meta::Get( $hash, 'version' ) )
       if ( $hash->{VERSION} );
 
     return ::readingsSingleUpdate( $hash, 'state', 'please set password first',
@@ -1632,6 +1635,9 @@ sub _SyncNextRequest {
     my $hash        = shift;
     my $nextRequest = shift;
 
+    my $def;
+    my $value;
+
     if ( $nextRequest eq 'sync' && $hash->{helper}->{repeat} ) {
         $def                      = $hash->{helper}->{repeat}->{def};
         $value                    = $hash->{helper}->{repeat}->{value};