Fix cache declaration