hopefully fix directory error