modify the connection list mechanism and resolve compile time error