clean query.datapoints