fix set criteria