small fix for lattice/model