added call to clear_list