Fixing problems with new version of connect