change structure of vm, remove warning message