bugfix for empty boards