fix set partial bug