active config: if no version is specified, loader will use the latest version
fix a bug that `env.v` might be `undefined`