Fix bug on medias