fixed printBoard const bug