fix dict