Add missing active variable in index.