removed the connection callback