Fixed the typo error in WindowCommand.

[FIX] Fixed the typo error in WindowCommand.