Bugfix in Directory.