fixed newly introduced electric bug