fix issues on windowz