fix list_command