remove array comprehensions