fixing PHI_CACHE