avoid connecting a tab twice