tiny bug fix to tri_lattice