fix dict items syntax