fixing embedded images