fixed tuple comprehension bug