Fix switch cache path beetwen environment