fix multiple configuration.destination calling on connect