fix parsing log on windows platform