modified connect error