fixed vm issues