generating complete relation fixes