tweaked parsing to allow parsing of list items