fix html media error