changing the display of VM at the end