problem identified with foreign kays to non-core tables