fixing the doAttach that attempted to connect to a root bucket, and would throw exception