fix threading issue with Parser.Load