Fixed duplicate connect