fixed DirectoryController