fix bug in pnx connection.
Merge remote-tracking branch 'origin/master'