fix a copy-paste error in board.js
fix disconnection