set cache optimization to ignore cached variables error.