fixed parsing error; length gets changed when parsing string board