removing duplicate media-primary class