fix cache var