adjust for vm