fixed unknown bug with medias fields