remove unneeded media object