check vm when adding it before setting properties