improved board to string