Fixed bugs in HostLattice class after renewing