make sure a list is a list