fixed list string-parsing bug