fix a minor bug on board_controller