change cmd tuple to list