restore Windows compatibility