fix for autoconnect