minor
Fixed bug where connections for Directory class could be wrong.