fix vm manager