fixed the bug where new windows wouldn't open.