Move list_clear to end