fix cache when use pagination