fix for new media flags