diff --git a/src/can/can.cpp b/src/can/can.cpp
index 7294035b2aa63df46b388c1727f384e2ac86eaf9..9329ef411bfc7c262674864fc44ff38b32894b09 100755
--- a/src/can/can.cpp
+++ b/src/can/can.cpp
@@ -397,13 +397,13 @@ void CCAN::clear_id_filters(void)
 void CCAN::close(void)
 {
   if(this->can_socket_fd!=-1)
-    this->close();
+    CComm::close();
 }
 
 CCAN::~CCAN()
 {
   // close the can device
   if(this->can_socket_fd!=-1)
-    this->close();
+    CComm::close();
 }