some windows fixes