fixing issue with cache