a couple of foreign key checks; temp. disabled integrity checks