bug fixed on windows