lattice fixes