fixed file directory error