link_window fix