[fix] window setting