fix correct active pane