fix set bug