fix constraints XML