removed dup vars in index