Fixed missing variable name in the connect function