Bugfix in dirs