fixed incorrect tuple number in logging