Fix Constraint type