work on eliminating double calls

inverted logic
Merge pull request #195 from cannontech/production

work on eliminating double calls