doConn fixed