Why EtBr is used in gel electrophores in spite of it being highly carcinogenic?

Ethidum bromide exchanges its visible range of wavelength with the invisible wave length of DNA to make it visible under UV light.