lighten the module cache and add ip fallback for vms