"(0 != tmpA.pair.b1" seems to fix error in red alien targetting function