fix bug from windows