fix problem with distributed cache