fix constains that only where using dam-1.2.2 constrains