foreign key fixes for all domains