constraint fix