Settings._env fix