Fixed bug that window no reposonse.