dsp: don't use dict comprehension