use local connections when possible; exisiting local connection code had...

... a bug