remove empty media section