fix small mistake in tupleref tfunc