minor fix in parse_as_rest