patch variable name in list comprehension