cleans up TupleBuilder