fix html resource