fixed the connect