fix the bug when you create board with xib