fix media error