changed all constraint by each