now resets the env when parse-stream is called