Fix connect client