fix set statements