Fix relations for .ui