fix dict rebind