Fix connect.