fix comprehension operations