remove possible empty strings from lists