fixed monte-carlo parsing