Fix a bug for disk cache option.