enhance for BrowserWindow