Fix connecting method