Fix connect function