undefined var in ADVTuple