Fixing issue with view cache