fix non-win