component pane partially working