fixed crashes under dual pane mode