fix for win console