fix electronic (polarization) dipole output