fixed changing length of board when parsing board