fixed wrong directory error