connection bugfixes, uri fallback