clear data from previous variant at each line.