remove the leaked window workaround