before move to other vm