changed current_pane to currentPane