fix a bug that preSensePair is now updated every time such that some erroneous connections not made
fix a bug that preSensePair is now updated every time such that some erroneous connections not made

svm-zhang/AGOUTI