fix custom media