remove 2.7 dict comprehensions