fix #2732 use list() copy