panel: adapt to new bar syntax