replacing empty list with null for cache