change empty list to empty string