fix set check