[BUG] - varargs removal does not check correct variable