fixed VM duplication