fix keypath when using re-use vm option