escape underscores in lattice