Fix bug when CAD was created with the same IP address