fix types of list api