Fixed bugs for ParsedResults and Parser
Merge with main code