Fix ret for buttonbar targets.