fix for win platform