fix settings and render media