removed dict comprehensions for python2.6 support

was still in profiling branch when doing changes