win os compat fix