fix the list command