redefine vars in group because nested nature