fix problems caused by windows