fix 'connected' and 'authenticated' assignments