fixed type discrepancy between RedisCacheManager and WebStorageManager