fix problem with cache