fix cache reference