fix media images and views