fixed errors on windows...