fix set should register set rather than create