bugs on windows fixed