input fix on windows