fix support for windows