media parsing fix