fix for medias