prevent null in list.