fix logic reversal
Merge remote-tracking branch 'upstream/master'