bug fix when saving tracy lattice