fix cache index
remake cpa