bugfix for putLattice, more meta for saveLattice, add CA_TIMEOUT