fix windows version for command refactor