fix board setup bug