fix bang bang on/off bug
Merge pull request #354 from wolfmanjm/upstreamedge

fix bang bang on/off bug