fix constraint