3-vm, 1-vm env setup. fix multiple issues.