trying to fix Media problem