fixed genLambdaLattice issue