fixed small error in ising