Fixed getBoardData error