fixed karma directory error