correct the list format