fix command line bug in windows