fix build-empty-board method