modify window kill command.