fixed electrostatics bug