clear the list after convertion