directories acting weird