revert window class