fix cache pages from config