diff --git a/fhem/fhem.pl b/fhem/fhem.pl
index 3255b2715..5599911f1 100755
--- a/fhem/fhem.pl
+++ b/fhem/fhem.pl
@@ -441,7 +441,9 @@ while (1) {
   # reported by select, but is used by unix too, to check if the device is
   # attached again.
   foreach my $p (keys %selectlist) {
-    next if(!$selectlist{$p});                  # due to rereadcfg / delete
+    next if(!$selectlist{$p});
+    next if(!$selectlist{$p} || !$selectlist{$p}{NAME}); # due to rereadcfg/del
+
     CallFn($selectlist{$p}{NAME}, "ReadFn", $selectlist{$p})
       if(vec($rout, $selectlist{$p}{FD}, 1));
   }