fix for vm scheduling