diff --git a/lib/Insteon/BaseInsteon.pm b/lib/Insteon/BaseInsteon.pm
index d115da551..00b797014 100644
--- a/lib/Insteon/BaseInsteon.pm
+++ b/lib/Insteon/BaseInsteon.pm
@@ -1966,7 +1966,8 @@ sub _get_engine_version_failure
 		$self->engine_version('I2CS');
 	}
 	#Clear success callback, otherwise it will run when message is cleared
-	$self->interface->active_message->success_callback('0');
+	$self->interface->active_message->success_callback('0') 
+		if (ref $self->interface->active_message);
 }
 
 =item C<ping([count])>