minor changes because it does work on windows