fixing empty items in lists for params