add isConnected if not set