repair the duplicate connection problems