fixed a minimax settings bug and a bug in is on board.