fix a bug that affects getNodes when path='auto' close#135
Merge branch 'trunk' into logicalGate