Fix "connected to undefined" logging
Fix deploys (?)