another try to fix panes