fix cache on FKs