fix multiple put bug