fix bug in board