fix app_window_manager.js