ref #15 fix error handling in windows context