adapt to new list api