fix constraint but