bug in pane activity