Fixed VM initialization error