fix empty media