improve dict