fix html generation directory error